

import Layout from '@/layout'

const buildRouter = {
  path: '/build',
  component: Layout,
  redirect: '/build',
  name: 'Build',
  meta: {
    title: '党建管理',
    icon: 'message',
    roles: ['admin']
  },
  children: [
    {
      path: 'center',
      component: () => import('@/views/build/center'),
      name: 'build',
      meta: { title: '党群服务中心', icon: '' }
    },
    {
      path: 'pageConfig',
      component: () => import('@/views/build/pageConfig'),
      name: 'buildConfig',
      meta: { title: '党建情况', icon: '' }
    }
  ]
}

export default buildRouter  //collate
